package com.ste.domain;

import java.util.Date;

import com.ste.server.command.Trade.OrderType;


public class Order {
	private String clientId;
	private String orderId;
	private OrderType type;
	private Float price;
	private Integer numberOfShares;
	private Date date;
	
	public Order() {
		this.date = new Date();
	}

	public Order(String clientId, String orderId, OrderType type, Float price, Integer numberOfShares) {
		this.clientId = clientId;
		this.orderId = orderId;
		this.type = type;
		this.price = price;
		this.numberOfShares = numberOfShares;
		this.date = new Date();
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public Float getPrice() {
		return price;
	}
	
	public void setPrice(Float price) {
		this.price = price;
	}
	
	public Integer getNumberOfShares() {
		return numberOfShares;
	}
	
	public void setNumberOfShares(Integer numberOfShares) {
		this.numberOfShares = numberOfShares;
	}

	public Date getDate() {
		return date;
	}

	public String getClientId() {
		return clientId;
	}

	public void setClientId(String clientId) {
		this.clientId = clientId;
	}

	public OrderType getType() {
		return type;
	}

	public void setType(OrderType type) {
		this.type = type;
	}
	
}
